package net.sk.china.city.mapper;

import java.util.List;
import net.sk.china.city.domain.ArOrderItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单项Mapper接口
 * 
 * @author gxf
 * @date 2024-06-05
 */
@Mapper
public interface ArOrderItemMapper extends BaseMapper<ArOrderItem>
{
    /**
     * 查询订单项
     * 
     * @param pkId 订单项主键
     * @return 订单项
     */
    public ArOrderItem selectArOrderItemByPkId(Long pkId);

    /**
     * 查询订单项列表
     * 
     * @param arOrderItem 订单项
     * @return 订单项集合
     */
    public List<ArOrderItem> selectArOrderItemList(ArOrderItem arOrderItem);

    /**
     * 新增订单项
     * 
     * @param arOrderItem 订单项
     * @return 结果
     */
    public int insertArOrderItem(ArOrderItem arOrderItem);

    /**
     * 修改订单项
     * 
     * @param arOrderItem 订单项
     * @return 结果
     */
    public int updateArOrderItem(ArOrderItem arOrderItem);

    /**
     * 删除订单项
     * 
     * @param pkId 订单项主键
     * @return 结果
     */
    public int deleteArOrderItemByPkId(Long pkId);

    /**
     * 批量删除订单项
     * 
     * @param pkIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArOrderItemByPkIds(Long[] pkIds);
}
